package controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order")
public class OtherController {
//    @RequestMapping(value = "/order/**",method = RequestMethod.POST)
//    public String generateOrder(){
//        return  "generate book Order"; }
    @RequestMapping(value = "/generate", method = RequestMethod.POST)
    public String generateOrder() {
        return "generate book Order!";
    }
}
